program fireman;

{$mode objfpc}{$H+}

uses
  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Interfaces, // this includes the LCL widgetset
  Forms, sqlite3laz, printer4lazarus, main, displayfilter, fposUtils, fpstructs,
  tcpbuffers, LResources, lnetvisual, salesfilter, labeller, orderin, sysutils,
  interfacedesign, configbutn, editbuttons, fromtodlg, setitem, clientdb,
  supplier, product, supplierstock, usersettings, services;

{$R *.res}

begin
  Application.Title := 'FireMAN';
  {$I fireman.rc}
  Application.Initialize;
  Application.CreateForm(TMainForm, MainForm);
  Application.CreateForm(TProductFilterForm, ProductFilterForm);
  Application.CreateForm(TPrintLabelDialog, PrintLabelDialog);
  Application.CreateForm(TFromToForm, FromToForm);
  Application.CreateForm(TEditButtonForm, EditButtonForm);
  MainForm.GetEvents(-1, Date-7, Now);
  Application.Run;
end.

